﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json;

namespace WebApplication.Admin
{
    public class BasePage : System.Web.UI.Page
    {
        private static string invalidParametersJsonText = JsonConvert.SerializeObject(new { Result = false, Message = "传递的参数不正确！" });
        private static string databaseFailureJsonText = JsonConvert.SerializeObject(new { Result = false, Message = "操作数据库出错，请重试或联系管理员！" });
        public static string InvalidParametersJsonText { get { return invalidParametersJsonText; } }
        public static string DatabaseFailureJsonText { get { return databaseFailureJsonText; } }
    }
}